package com.train.service;

import com.train.dto.CardDTO;
import com.train.pojo.Card;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CardService {

    List<CardDTO> selectAllCardDTO();

    CardDTO selectCardDTOByCardid(String cardid);

    Card selectCardByCardid(String cardid);

    Card selectCardByStr(String str);

    int addCard(Card card);

    int updateCard(Card card);

    int deleteCard(String cardid);
}
